
#ifndef _MEMBER_BPICKHIT_H_
#define _MEMBER_BPICKHIT_H_

#include <BScene>
#include <BGroup>
#include <BNode>
#include <BShape>
#include <BElement>
#include <BPickHit>

#define hit_member(hit)		((member_BPickHit*)((BPickHit*)hit)->_ptr)

namespace BWE
{
	class member_BPickHit
	{
	public:
		member_BPickHit(BPickHit* pickHit);
		~member_BPickHit();

		BPickHit*			boss;
		BHolder<BScene>		scene;
		BHolder<BGroup>		group;
		BHolder<BNode>		node;
		BHolder<BShape>		shape;
		BHolder<BElement>	element;
		int					index;
		Primitive			primitive;
		BReal				ratio;
		BVector				point;
		BVector				normal;
	};
}

#endif